package com.ych.modules.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.ych.modules.base.dbEntity.TUserTokenEntity;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2020/12/5
 * Time: 15:10
 * Description:
 */
public interface ITUserTokenService extends IService<TUserTokenEntity> {

    TUserTokenEntity createToken(String userId);

    TUserTokenEntity queryByToken(String accessToken);

    void logout(String userId);
}
